	@extends('template/master')
	
	@section('pageTitle')
		{{ Lang::get('label.homePageTitle')}}
	@stop
	
	@section( 'reCaptcha' )
	<script type="text/javascript">
 		var RecaptchaOptions = { theme : 'clean' };
 	</script>
 	@stop
 	
	@section('content')	
	<?php require_once(app_path().'/lib/recaptchalib.php'); $publickey = Options::CAPTCHA_PUBLIC_KEY; ?>
    <!-- Page Content -->
    <div class="container">
    
    	<ol class="breadcrumb">
  			<li><a href="<?=$homeURL?>">{{ Lang::get('label.home') }}</a></li>
			<li>Contact Us</li>
		</ol>					
		<h1 class="title">contact us</h1>
        <div class="clearfix"></div>	   
	    <div class="row">
		    <!-- column7 -->
            <div class="col-md-7">				
				<div class="contact-padding">		
				{{ Form::open(array('action' => array('ContactUsController@postFeedback', Config::get('app.locale') ))) }}					
						<!-- 	<form role="form">  -->
							  
							<!--  
							<div class="alert alert-success" role="alert"><strong>Success:</strong> You successfully submit this form. </div>
							<div class="alert alert-info" role="alert"><strong>Heads up:</strong> This alert needs your attention, but it's not super important. </div>
							<div class="alert alert-warning" role="alert"><strong>Warning:</strong> Better check yourself, you're not looking too good. </div>
							<div class="alert alert-danger" role="alert"><strong>Error:</strong> Change a few things up and try submitting again. </div>
							  -->
							  				
						 	 	 <div class="form-group">
  									 <label for="Issues">{{ Lang::get('label.CU_Issues') }}</label>
  							 		 <select name="select" class="form-control" style="padding-left:7px;">
									  		<option value="Editorial Online">{{ Lang::get('label.CU_EditorialOnline') }}</option>
 											<option value="Businesss Online">{{ Lang::get('label.CU_BusinessOnline') }}</option>
											<option value="Sports Online">{{ Lang::get('label.CU_SportsOnline') }}</option>
									 </select>
						 	 	 </div>
								 
								 
								 <div class="form-group">
  									 <label for="attention">{{ Lang::get('label.CU_Attention') }}</label>
  							 		 <input type="text" class="form-control" id="" placeholder="{{ Lang::get('label.CU_EnterAttentionNote') }}">
 								 </div>

  
  								 <div class="form-group">
   									<label for="your name">{{ Lang::get('label.CU_YourName') }}<span class="mandatory">*</span></label>
    								<input type="text" class="form-control" id="" placeholder="{{ Lang::get('label.CU_PleaseEnterYourName') }}">
 								 </div>
  
 
 								  <div class="form-group">
   									<label for="your email">{{ Lang::get('label.CU_YourEmail') }}<span class="mandatory">*</span></label>
    								<input type="text" class="form-control" id="" placeholder="{{ Lang::get('label.CU_SampleEmail') }}">
 								 </div>
  
   								
								 <div class="form-group">
   									<label for="subject">{{ Lang::get('label.CU_Subject') }}<span class="mandatory">*</span></label>
    								<input type="text" class="form-control" id="" placeholder="{{ Lang::get('label.CU_PleaseEnterYourSubject') }}">
 								 </div>
								 
								 
								 <div class="form-group">
   									<label for="message">{{ Lang::get('label.CU_Message') }}<span class="mandatory">*</span></label>
    								<textarea name="message" class="form-control" id="" placeholder="{{ Lang::get('label.CU_PleaseEnterYourMessage') }}"></textarea>
 								 </div>
								 
								 
								 
								 <span class="mandatory">{{ Lang::get('label.CU_MandatoryField') }}</span>
								 
								 
								  <div class="clearfix"></div><br><br>
								 
  								  <?php echo recaptcha_get_html($publickey);?><br><br><br>
								
								  <div class="clearfix"></div>
 							
							     <button type="submit" class="btn btn-default">{{ Lang::get('label.CU_Submit') }}</button>
							     <button type="reset" class="btn btn-default">{{ Lang::get('label.CU_Reset') }}</button>
						<!--  	</form> -->
							{{ Form::close() }}	
							</div>
							
            </div><!-- / column7-->

            <!-- Sidebar -->
            <div class="col-md-5">
	        	<div class="clearfix"></div>
	            <h1 class="title"><?php echo Lang::get('label.mostViewed'); ?></h1>
	            <div class="row">
	            	<div class="col-lg-12">
	                	<ul class="list-styled">
	                		<?php foreach( $mostViewed as $value ) : $linkTo = SEO::generateNewsURL($value->id,$value->title); ?>
	                         	<li><a href="{{ $linkTo }}" class="news-style"><?= $value->title;?></a></li>
	                        <?php endforeach; ?>			
	                    </ul>
	            	</div><!-- /.col-lg-6 -->                        
	            </div><!-- /.row -->
	            
	            <h1 class="title"><?php echo Lang::get('label.mostCommented'); ?></h1>
	            <div class="row">
		            <div class="col-lg-12">
	            		<ul class="list-styled">
	            			<?php foreach( $mostCommented as $value ) : $linkTo = SEO::generateNewsURL($value->id,$value->title); ?>
                            	<li><a href="{{ $linkTo }}" class="news-style"><?= $value->title;?></a></li>
                            <?php endforeach; ?>
						</ul>
	            	</div><!-- /.col-lg-6 -->
	            </div><!-- /.row -->
            </div><!-- /.col-md-5-->
        </div> <!-- /.row -->
    </div> 
	<!-- /.container -->
	@stop
	